package per.hx.bs.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import per.hx.bs.base.entity.BsLogDO;

/**
 * @author HuXing
 * @date 2018/3/26  15:46
 */
@FeignClient(value = "Huxingbs-Sys-Service")
public interface LogService {
    /**
     * 日志插入
     *
     * @param bsLogDO 日志
     * @return 影响的行数
     */
    @PostMapping(value = "sys-service/log/save")
    int insert(@RequestBody BsLogDO bsLogDO);
}
